<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<jsp:include page="../../../common/head.jsp">
			 <jsp:param name="_spPage" value="true"/>
			 <jsp:param name="_useTab" value="true"/>
			 <jsp:param name="_useCalendar" value="true"/>
		</jsp:include>

		<title>费用核销汇总</title>
		<script language="JavaScript">
			//返回
			function goBack()
			{
				window.location.href = "listFeeWrittenOff.do";
			}
			
			//选择费用类型
			function selectFeeType(){
				var code = ModalWindow("jump.do?path=listDictComm.do&toJsp=/jsp/common/code/lst_code_dict.jsp&kindId=004",640,480);
				if(code!=null)
				{
					var str = code.split("#");
					$("#feeTypeId").val(str[0]);
					$("#feeTypeName").val(str[1]);
				}
			}
			$.ready = function()
			{
				xjTabs.initTab();
				$("#feeReportYearFrom").val("${wfn:getDateTime('yyyy')}");
				$("#feeReportYearTo").val("${wfn:getDateTime('yyyy')}");
			}
		</script>
	</head>
	<body>
	<form action="queryFeeWrittenOff.do" name="form1" id="form1" method="post" target="_blank">
	<div id="body_div">
	<w:ShowTitle name="费用核销统计" useSubmitKey="false">
	<w:TitleButton funcName="返回" onClickFunction="goBack()" urlImg="${ctx}/images/main/back.png"/>
	</w:ShowTitle>
	<div id="body_content">
		<div class="Sliding_tab">
			<ul>
				<li></li><li><span class="tabsLink" id="setTab0" link="query_fee_written_off.jsp" type="jump">费用明细汇总统计表</span></li><li></li>
				<li></li><li><span class="tabsLink" id="setTab1" link="query_fee_written_off_area.jsp" type="jump">地区费用汇总统计表</span></li><li></li>
			</ul>
		</div>
			<table width="100%" border="0">
				<tr>
					<td width="120">地区</td>
					<td width="180" class="left_align">
						<w:select name="areaId">
							<w:option optionLabel="请选择" optionValue=""></w:option>
							<w:options options="${CodeDict}" optionLabel="codeName" optionValue="codeId" filterFieldName="parentCodeId" filterFieldValue="001"></w:options>
						</w:select>
					</td>
					<td width="120">事业部</td>
					<td width="180" class="left_align">
              			<w:select name="areaDeptId">
							<w:option optionLabel="请选择" optionValue=""></w:option>
							<w:options options="${CodeDict}" optionLabel="codeName" optionValue="codeId" filterFieldName="parentCodeId" filterFieldValue="002"></w:options>
						</w:select>
           			</td>  
					<td></td>
				</tr>
				<tr>
					<td>上报期间</td>
					<td class="left_align">
						<select name="feeReportYearFrom" id="feeReportYearFrom"  class="selectLengthAuto">
		      				<option value="">请选择</option>
		      				<c:forEach begin="2013" end="${wfn:getDateTime('yyyy')}" var="year">
		      					<option value="${year}">${year}</option>
		      				</c:forEach>
		      			</select>
						<w:select name="feeReportMonthFrom" styleId="feeReportMonth" styleClass="selectLengthAuto" value="${wfn:getDateTime('MM')}">
							<w:option optionLabel="请选择" optionValue=""></w:option>
							<w:option optionLabel="01" optionValue="01"></w:option>
							<w:option optionLabel="02" optionValue="02"></w:option>
							<w:option optionLabel="03" optionValue="03"></w:option>
							<w:option optionLabel="04" optionValue="04"></w:option>
							<w:option optionLabel="05" optionValue="05"></w:option>
							<w:option optionLabel="06" optionValue="06"></w:option>
							<w:option optionLabel="07" optionValue="07"></w:option>
							<w:option optionLabel="08" optionValue="08"></w:option>
							<w:option optionLabel="09" optionValue="09"></w:option>
							<w:option optionLabel="10" optionValue="10"></w:option>
							<w:option optionLabel="11" optionValue="11"></w:option>
							<w:option optionLabel="12" optionValue="12"></w:option>
						</w:select>
					</td>
					<td>至</td>
					<td class="left_align">
						<select name="feeReportYearTo" id="feeReportYearTo"  class="selectLengthAuto">
		      				<option value="">请选择</option>
		      				<c:forEach begin="2013" end="${wfn:getDateTime('yyyy')}" var="year">
		      					<option value="${year}">${year}</option>
		      				</c:forEach>
		      			</select>
						<w:select name="feeReportMonthTo" styleId="feeReportTo" styleClass="selectLengthAuto" value="${wfn:getDateTime('MM')}">
							<w:option optionLabel="请选择" optionValue=""></w:option>
							<w:option optionLabel="01" optionValue="01"></w:option>
							<w:option optionLabel="02" optionValue="02"></w:option>
							<w:option optionLabel="03" optionValue="03"></w:option>
							<w:option optionLabel="04" optionValue="04"></w:option>
							<w:option optionLabel="05" optionValue="05"></w:option>
							<w:option optionLabel="06" optionValue="06"></w:option>
							<w:option optionLabel="07" optionValue="07"></w:option>
							<w:option optionLabel="08" optionValue="08"></w:option>
							<w:option optionLabel="09" optionValue="09"></w:option>
							<w:option optionLabel="10" optionValue="10"></w:option>
							<w:option optionLabel="11" optionValue="11"></w:option>
							<w:option optionLabel="12" optionValue="12"></w:option>
						</w:select>
           			</td>  
           			<td></td>
				</tr>
				<tr>
					<td>状态</td>
					<td class="left_align" colspan="3">
						<input type="checkbox" class="checkbox" value="已上报" name="reportState"/>已上报
						<input type="checkbox" class="checkbox" value="已核销" name="reportState"/>已核销
						<input type="checkbox" class="checkbox" value="核销完毕" name="reportState" checked="checked"/>核销完毕
						<input type="checkbox" class="checkbox" value="已报销" name="reportState" checked="checked"/>已报销
           			</td>  
					
		              <td></td>
				</tr>
				<tr>
					<td>费用类别</td>
					<td class="left_align">
						<input type="hidden" id="feeTypeId" name="feeTypeId"/>
		              	<input type="text" name="feeDetail.feeTypeName" id="feeTypeName" class="inputQry" readonly="readonly" onclick="selectFeeType()"/>
           			</td>  
					<td>编号</td>
		              <td class="left_align">
		              	<input type="text" id="feeReportCode" name="feeReportCode"/>
		              </td>
		              <td></td>
				</tr>
				<tr>
					<td>输出列</td>
					<td class="left_align">
						<input type="checkbox" class="radio" name="showData" value="申报"/>申报
						<input type="checkbox" class="radio" name="showData" checked="checked" value="核销" disabled="disabled"/>核销
           			</td>  
					<td></td>
		              <td class="left_align">
		              </td>
		              <td></td>
				</tr>
				<tr>
					<td>输出形式</td>
					<td class="left_align">
						<input type="radio" class="radio" value="页面" name="targetRadio" checked="checked"/>页面
						<input type="radio" class="radio" name="targetRadio" value="excel"/>excel
           			</td>  
					<td></td>
		              <td class="left_align">
		              </td>
		              <td></td>
				</tr>
				<tr>
					 <td colspan="5">
						<input name="button" type="submit" class="btn_standard" onclick="" value="查询" />
					</td>
				</tr>
			</table>
			</div>
		</div>	
		</form>
	</body>
</html>